package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) UploadListParts(ctx context.Context, req *v1.UploadListPartsReq) (res *v1.UploadListPartsRes, err error) {
	res = &v1.UploadListPartsRes{}
	res.UploadListPartOutput, err = service.SysUpload().ListParts(ctx, &req.UploadListPartInput)
	return
}
